package com.zust.zst.score.service;

import com.zust.zst.common.dto.score.AddScoreDTO;
import com.zust.zst.common.dto.score.Score;

import com.zust.zst.common.dto.score.UpdateScoreDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScoreService {
    List<Score> showAllStudentScore(int startIndex,int pageSize);
    int getScoreCount();
    int deleteScore(int scoreId);
    List<Score> getScoreById(int scoreId);
    List<Score> getScoreBySubId(int studentSubjectId);
    void addScore(AddScoreDTO addScoreDTO);
    void updateScore(UpdateScoreDTO updateScoreDTO);
}
